package com.aiti.lulian.service.impl;

import java.util.List;

import com.aiti.base.core.base.service.iml.BaseSerivceImpl;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.entity.ActivitySummaryCooperateDetail;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import com.aiti.lulian.mapper.ActivitySummaryCooperateDetailMapper;
import com.aiti.lulian.service.IActivitySummaryCooperateDetailService;

/**
 * 活动总结-合作详情Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-10
 */
@Service
public class ActivitySummaryCooperateDetailServiceImpl extends BaseSerivceImpl<ActivitySummaryCooperateDetailMapper, ActivitySummaryCooperateDetail> implements IActivitySummaryCooperateDetailService
{

    @Override
    public List<ActivitySummaryCooperateDetail> summaryCooperatePage(Page page, ActivitySummaryCooperateDetail activitySummaryCooperateDetail) {
        QueryWrapper<ActivitySummaryCooperateDetail> wrapper = new QueryWrapper<>();
        wrapper.eq(!StringUtils.isEmpty(activitySummaryCooperateDetail.getSummaryId()),"summary_id",activitySummaryCooperateDetail.getSummaryId());
        return this.list(wrapper);
    }
}
